package com.smart_environmental_protection.service.ServiceImp;

import com.smart_environmental_protection.dao.ContentDao;
import com.smart_environmental_protection.pojo.Content;
import com.smart_environmental_protection.service.ContentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ContentServiceImp implements ContentService {
    @Resource
    private ContentDao contentDao;



    @Override
    public Content getContent(int id) {
        return contentDao.getContent(id);
    }
}
